package com.app.service;

import com.app.model.AdminUserModel;
import com.app.model.MysqlModel;
import com.app.model.RoleModel;
import com.app.util.Result;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface AdminUserService  extends IService<AdminUserModel> {


    AdminUserModel getUserByUserName(String account, String pwd);

    AdminUserModel  getUserByUserId(int id);

    Page<AdminUserModel> getPageUserList(int page, int limit, String account);//角色管理分页查询

    List<AdminUserModel> userList();
    void update(AdminUserModel model);

    void insert(AdminUserModel model);

    void delete(int id);

    AdminUserModel getUserByName(String account);


    AdminUserModel getUserByPersonId(Integer id);

}
